﻿#pragma once

#include"../../../StdAfx.h"
#include"../../DAO/DAO.h"
//#include"../../../QuantyView3DView.h"
#include"resource2.h"

using namespace DAO;

// DrillViewDlg 对话框

class DrillViewDlg : public CDialogEx
{
	DECLARE_DYNAMIC(DrillViewDlg)

public:
	DrillViewDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DrillViewDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DRILLVIEW };
#endif

public:
	//初始化数据
	void setInitData(User_ST user);
	//传递当前图幅，将数据传递到图幅中
	void setMap(CGV3dMap* map);
protected:
	CComboBox* kantanqu;
	CListBox* drill_list;
	CComboBox* oreName;

	CGV3dMap* pMap;
	User_ST user;

protected:
	vector<DrillGeneral_ST> drills;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
public:
	//virtual INT_PTR DoModal();

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnCbnSelchangeKantanquNo();
	afx_msg void OnBnClickedButtonFloorView();
	afx_msg void OnBnClickedButtonOreView();
	virtual BOOL OnInitDialog();
};
